VERSION 5.00
Object = "{B3FB64BF-91F9-11D7-A482-0008A14158BC}#2.22#0"; "ITGControls.ocx"
Begin VB.Form frmPrompt 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Form1"
   ClientHeight    =   1695
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   5265
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1695
   ScaleWidth      =   5265
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  'CenterOwner
   Begin VB.Frame Frame1 
      Height          =   75
      Left            =   75
      TabIndex        =   3
      Top             =   990
      Width           =   5070
   End
   Begin ITGControls.ComunionButton cmdOK 
      Height          =   375
      Left            =   1590
      TabIndex        =   0
      Top             =   1185
      Width           =   1575
      _ExtentX        =   2778
      _ExtentY        =   661
      BTYPE           =   2
      TX              =   "&OK"
      ENAB            =   -1  'True
      BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      COLTYPE         =   1
      FOCUSR          =   -1  'True
      BCOL            =   14215660
      BCOLO           =   14215660
      FCOL            =   0
      FCOLO           =   0
      MCOL            =   12632256
      MPTR            =   1
      MICON           =   "frmPrompt.frx":0000
      UMCOL           =   -1  'True
      SOFT            =   0   'False
      PICPOS          =   0
      NGREY           =   0   'False
      FX              =   0
      HAND            =   0   'False
      CHECK           =   0   'False
      VALUE           =   0   'False
   End
   Begin VB.Label lblParameter 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "0.00"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   24
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   585
      Left            =   1665
      TabIndex        =   2
      Top             =   270
      Width           =   915
   End
   Begin VB.Label lblCaption 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "Change:"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   18
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   435
      Left            =   240
      TabIndex        =   1
      Top             =   360
      Width           =   1305
   End
End
Attribute VB_Name = "frmPrompt"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Public Function LoadPrompt(Caption As String, ParamValue As String, ButtonCaption As String, MeCaption As String)
    Me.lblCaption.Caption = Caption
    Me.lblParameter.Caption = ParamValue
    Me.cmdOK.Caption = ButtonCaption
    Me.Caption = MeCaption
    Me.Show 1
End Function

Private Sub cmdOK_Click()
    Unload Me
End Sub

Private Sub Form_Load()
    Me.Width = 480 + (lblCaption.Width + lblParameter.Width + 120)
    Me.Frame1.Width = 150 + (lblCaption.Width + lblParameter.Width + 120)
    Me.lblCaption.Left = (Me.Width / 2) - (lblCaption.Width + lblParameter.Width) / 2
    Me.cmdOK.Left = (Me.Width / 2) - (cmdOK.Width) / 2
    Me.Frame1.Left = (Me.Width / 2) - (Frame1.Width) / 2
    Me.lblParameter.Left = lblCaption.Left + lblCaption.Width + 120
End Sub

